home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
429_01
/
chess12
/
brdsize.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-02
|
320b
|
20 lines
#if !defined(BRDSIZE_HPP)
#define BRDSIZE_HPP
// dimensions of chess board
const int NUMROWS = 8;
const int NUMCOLS = 8;
// position on the chess board
class POSITION
{
public:
int row, col; // zero-based
POSITION(void) { }
POSITION(int r, int c) : row(r), col(c) { }
};
#endif